-- GENERATED SPELL FOR [Defias Overseer] --


function spell0_634(pUnit, Event) --@Battle Command,Self--
pUnit:FullCastSpellOnTarget(5115,pUnit)
pUnit:RegisterEvent('Sorts_634', 6344, 1)
end

function Sorts_634(pUnit, Event)
local choix_sorts_634 = math.random(0, 0)
if choix_sorts_634 == 0 then
pUnit:RegisterEvent('spell0_634', 1, 1)
end
end

function mob634_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_634', math.random(1500, 3000), 1)
end

function mob634_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob634_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob634_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(634, 1, 'mob634_Action')
RegisterUnitEvent(634, 2, 'mob634_Leave')
RegisterUnitEvent(634, 3, 'mob634_Kill')
RegisterUnitEvent(634, 4, 'mob634_Die')
